﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Bots.Search
{
    public class QueryTerm
    {
        private string[] urls;
        private string keyword;

        public string Keyword {
            get { return this.keyword; }
        }

        public string[] Urls {
            get { return this.urls; }
        }
        public QueryTerm(string url, string keyword) {
            urls = new string[1];
            urls[0] = url;
            this.keyword = keyword;
        }

        public QueryTerm(string[] urls, string keyword) {
            this.urls = urls;
            this.keyword = keyword;
        }

        /// <summary>
        /// "Bots:Link/keyword" or "Bots:Link,Tag/keyword"
        /// </summary>
        /// <param name="expression"></param>
        public QueryTerm(string expression) { 
            
        }
    }
}
